﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SAD_Assignment1.DTO
{
    public class PhotoDTO
    {
        private int id;

        public int ID
        {
            get { return id; }
            set { id = value; }
        }
        private string url;

        public string URL
        {
            get { return url; }
            set { url = value; }
        }
        private string title;

        public string Title
        {
            get { return title; }
            set { title = value; }
        }
        private DateTime postDate;

        public DateTime PostDate
        {
            get { return postDate; }
            set { postDate = value; }
        }
        private int accID;

        public int AccID
        {
            get { return accID; }
            set { accID = value; }
        }
        private string accName;

        public string AccName
        {
            get { return accName; }
            set { accName = value; }
        }
        private string type;

        public string Type
        {
            get { return type; }
            set { type = value; }
        }
        public PhotoDTO() { }
        public PhotoDTO(int id, string url, string title, DateTime postDate,string type, int accID, string accName)
        {
            ID = id;
            URL = url;
            Title = title;
            PostDate = postDate;
            AccID = accID;
            AccName = accName;
            Type = type;
        }
                
    }
}